namespace Cos.Core.NHibernate.Mapping
{
    #region Usings

    using FluentNHibernate.Mapping;

    #endregion

    public class DATABASECHANGELOGLOCKMap : ClassMap<DATABASECHANGELOGLOCKDataModel>
    {
        #region Constructors and Destructors

        public DATABASECHANGELOGLOCKMap()
        {
            this.Table("DATABASECHANGELOGLOCK");
            this.LazyLoad();
            this.Id(x => x.ID).GeneratedBy.Native().Column("ID");
            this.Map(x => x.LOCKED).Not.Nullable().Column("LOCKED");
            this.Map(x => x.LOCKGRANTED).Column("LOCKGRANTED");
            this.Map(x => x.LOCKEDBY).Column("LOCKEDBY");
        }

        #endregion
    }
}